﻿/*-------------------------------------------------------------------------
* 命名空间: ScreenCapture.Models/MainModule
* 类       名: MainModule
* 功      能:  TD
* 时      间:  2023/12/4 11:04:05
* 版      本:  V1.0
* 作      者:  Fioman
* 格      言:  Talk is cheap,show me the code ^_^
*-------------------------------------------------------------------------*/
using ScreenCapture.Base.Services;

namespace ScreenCapture.Models
{
    public class MainModule : IModule
    {

        public void OnLoad(IBinder MyBinder)
        {
            //Use Singleton to Ensure the same instance is used every time!
            MyBinder.Bind<IMessageProvider, MessageProvider>();
            MyBinder.Bind<IAudioPlayer, AudioPlayer>();
        }

        public void Dispose() { }

    }
}
